package com.erp.system.domain;

import com.erp.framework.core.domain.BaseEntity;
import java.math.BigDecimal;

/**
 * @TableName material_vendor
 */
public class MaterialVendor extends BaseEntity {

    private static final long serialVersionUID = 1337731400204264213L;
    /**
     * 物料主键
     */
    private String materialId;
    private Material material;

    /**
     * 供应商主键
     */
    private String vendorId;

    private Vendor vendor;

    /**
     * 单价
     */
    private BigDecimal unitPrice;

    /**
     * 状态
     */
    private String status;

    /**
     * 供应商物料编码
     */
    private String code;

    /**
     * 供应商物料名称
     */
    private String name;

    /**
     * 供应商类型
     */
    private String type;

    /**
     * 物料主键
     */
    public String getMaterialId() {
        return materialId;
    }

    /**
     * 物料主键
     */
    public void setMaterialId(String materialId) {
        this.materialId = materialId;
    }

    /**
     * 供应商主键
     */
    public String getVendorId() {
        return vendorId;
    }

    /**
     * 供应商主键
     */
    public void setVendorId(String vendorId) {
        this.vendorId = vendorId;
    }

    public Vendor getVendor() {
        return vendor;
    }

    public void setVendor(Vendor vendor) {
        this.vendor = vendor;
    }

    public BigDecimal getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(BigDecimal unitPrice) {
        this.unitPrice = unitPrice;
    }

    /**
     * 状态
     */
    public String getStatus() {
        return status;
    }

    /**
     * 状态
     */
    public void setStatus(String status) {
        this.status = status;
    }

    public Material getMaterial() {
        return material;
    }

    public void setMaterial(Material material) {
        this.material = material;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}